// DEPENDENCE: %n.A %n.B
// EXEC: %compiler %optimization_level_2 %incrementalCompile %n.cj -o %output
// RUN-EXEC-2: %run %run_opt %output %run_args
// EXEC: %cpfile %n.A %n.cj
// EXEC: %compiler %optimization_level_2 %incrementalCompile %n.cj -o %output
// RUN-EXEC-3: %run %run_opt %output %run_args
// EXEC: %cpfile %n.B %n.cj
// EXEC: %compiler %optimization_level_2 %incrementalCompile %n.cj -o %output
// RUN-EXEC-4: %run %run_opt %output %run_args

let (a,b):(Int64, Int64) = (2,2)

func goo() : Int64 {
    return a
}
main(){
    return goo() + b
}

// Copyright (c) Huawei Technologies Co., Ltd. 2025. All rights reserved.
// This source file is part of the Cangjie project, licensed under Apache-2.0
// with Runtime Library Exception.
//
// See https://cangjie-lang.cn/pages/LICENSE for license information.
